package com.tsu.mall.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

//启动类
@SpringBootApplication(scanBasePackages = "com.tsu.mall")
@MapperScan(basePackages = "com.tsu.mall.*.mapper")
@EnableScheduling//开启定时任务功能
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}
